﻿<UserControl x:Class="GreetingCreatorSample.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
	xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
    xmlns:greeting="clr-namespace:GreetingCreator;assembly=GreetingCreatorControl"    
    xmlns:itemPicker="clr-namespace:ItemPicker;assembly=ItemPickerControl"	
    xmlns:transform="clr-namespace:TransformInteraction;assembly=TransformInteraction"
    xmlns:panels="clr-namespace:Panels;assembly=Panels"    
	xmlns:sys="clr-namespace:System;assembly=mscorlib"
    xmlns:GreetingCreatorSample="clr-namespace:GreetingCreatorSample"
    xmlns:graphics="clr-namespace:GreetingCreatorGraphicUserControls;assembly=GreetingCreatorGraphicUserControls"
    xmlns:expander="clr-namespace:Expander;assembly=Expander"
    xmlns:waitCursor="clr-namespace:WaitCursor;assembly=WaitCursor"
    xmlns:theming="clr-namespace:Microsoft.Windows.Controls.Theming;assembly=Microsoft.Windows.Controls.Theming"
    >

    <UserControl.Resources>

        <Style x:Key="wordPickerStyle" TargetType="itemPicker:ItemPickerControl">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="itemPicker:ItemPickerControl">
                        <Canvas>
                            <vsm:VisualStateManager.VisualStateGroups>
                                <vsm:VisualStateGroup x:Name="CommonStates">
                                    <vsm:VisualStateGroup.Transitions>
                                        <vsm:VisualTransition GeneratedDuration="0:0:0.2" To="Opened"/>
                                    </vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualState x:Name="Thumbnailed"/>
                                    <vsm:VisualState x:Name="Opened">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="picker" Storyboard.TargetProperty="(UIElement.Visibility)">
                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                    <DiscreteObjectKeyFrame.Value>
                                                        <Visibility>Visible</Visibility>
                                                    </DiscreteObjectKeyFrame.Value>
                                                </DiscreteObjectKeyFrame>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                </vsm:VisualStateGroup>
                            </vsm:VisualStateManager.VisualStateGroups>

                            <Border x:Name="thumbnail" Width="90" Height="90">
                                <Canvas x:Name="AddWordIcon" RenderTransformOrigin="0.5,0.5" Width="145.974" Height="133.977" HorizontalAlignment="Center" VerticalAlignment="Center" Clip="F1 M 0,0L 145.974,0L 145.974,133.977L 0,133.977L 0,0">
                                    <Canvas.RenderTransform>
                                        <ScaleTransform ScaleX="0.7" ScaleY="0.7" />
                                    </Canvas.RenderTransform>
                                    <Canvas x:Name="Layer_1" Width="145.974" Height="133.977" Canvas.Left="0" Canvas.Top="0">
                                        <Rectangle x:Name="Rectangle" Width="101.321" Height="99.5431" Canvas.Left="21.8375" Canvas.Top="14.6171" Stretch="Fill" Fill="#FF757575"/>
                                        <Rectangle x:Name="Rectangle_0" Width="103.72" Height="101.943" Canvas.Left="17.2378" Canvas.Top="9.57884" Stretch="Fill" StrokeThickness="2.3997" StrokeLineJoin="Round" Stroke="#FF778B90">
                                            <Rectangle.Fill>
                                                <LinearGradientBrush StartPoint="0.745614,1.03571" EndPoint="1.67179,1.03571">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.745614" CenterY="1.03571" AngleX="0.720091" AngleY="0"/>
                                                            <RotateTransform CenterX="0.745614" CenterY="1.03571" Angle="247.738"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FFF5F8DB" Offset="0.0127119"/>
                                                        <GradientStop Color="#FFFFFFFF" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Rectangle.Fill>
                                        </Rectangle>
                                        <Rectangle x:Name="Rectangle_1" Width="85.9448" Height="70.8356" Canvas.Left="26.0724" Canvas.Top="17.5779" Stretch="Fill" StrokeThickness="2.3997" StrokeLineJoin="Round" Stroke="#FF000000">
                                            <Rectangle.Fill>
                                                <LinearGradientBrush StartPoint="0.656913,-0.480519" EndPoint="1.98163,-0.480519">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.656913" CenterY="-0.480519" AngleX="-0.225571" AngleY="0"/>
                                                            <RotateTransform CenterX="0.656913" CenterY="-0.480519" Angle="90.4597"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FFB3F9FA" Offset="0"/>
                                                        <GradientStop Color="#FFFBFCF4" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Rectangle.Fill>
                                        </Rectangle>
                                        <Path x:Name="Line" Width="0" Height="11.3319" Canvas.Left="110.067" Canvas.Top="89.3246" Stretch="Fill" Data="F1 M 110.067,89.3246L 110.067,100.656"/>
                                        <Path x:Name="Line_2" Width="0" Height="7.11246" Canvas.Left="110.067" Canvas.Top="82.2122" Stretch="Fill" Data="F1 M 110.067,82.2122L 110.067,89.3246"/>
                                        <Path x:Name="Path" Width="63.2127" Height="53.9755" Canvas.Left="71.2013" Canvas.Top="69.329" Stretch="Fill" StrokeThickness="2.3997" StrokeLineJoin="Round" Stroke="#FF383838" Fill="#FF383838" Data="F1 M 72.4151,89.1045L 72.4012,87.3546L 94.6205,87.3546L 94.6592,70.5288L 94.6205,70.579L 110.216,70.5304L 110.216,88.0924L 133.214,88.0924L 133.214,103.75L 109.585,103.672L 109.779,122.105L 94.2505,122.105L 94.2506,105.136L 72.4012,105.137L 72.4012,88.9335"/>
                                        <Path x:Name="Path_3" Width="63.2127" Height="53.9755" Canvas.Left="68.501" Canvas.Top="66.2941" Stretch="Fill" StrokeThickness="2.3997" StrokeLineJoin="Round" Stroke="#FF8E0000" Data="F1 M 69.7148,86.0696L 69.7009,84.3198L 91.9203,84.3198L 91.9589,67.494L 91.9203,67.5441L 107.516,67.4955L 107.516,85.0575L 130.514,85.0576L 130.514,100.715L 106.885,100.637L 107.079,119.07L 91.5503,119.07L 91.5503,102.101L 69.7009,102.103L 69.7009,85.8987">
                                            <Path.Fill>
                                                <LinearGradientBrush StartPoint="0.476811,-0.01195" EndPoint="1.44401,-0.01195">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.476811" CenterY="-0.01195" AngleX="0.16899" AngleY="0"/>
                                                            <RotateTransform CenterX="0.476811" CenterY="-0.01195" Angle="89.567"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FFF44B4B" Offset="0"/>
                                                        <GradientStop Color="#FFFF0000" Offset="0.483051"/>
                                                        <GradientStop Color="#FF940000" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Path.Fill>
                                        </Path>
                                        <Path x:Name="Path_4" Width="20.2161" Height="1.1369" Canvas.Left="38.4125" Canvas.Top="57.0828" Stretch="Fill" Data="F1 M 39.5703,57.0828L 40.4973,57.1266L 58.1224,57.1016L 58.6286,57.0969L 58.5629,57.5053L 58.4972,57.8527L 58.4278,58.2073L 38.4125,58.2197L 39.0164,57.6086L 39.5703,57.0828 Z ">
                                            <Path.Fill>
                                                <LinearGradientBrush StartPoint="0.228711,0.807376" EndPoint="0.864243,0.807376">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.228711" CenterY="0.807376" AngleX="-11.2591" AngleY="0"/>
                                                            <RotateTransform CenterX="0.228711" CenterY="0.807376" Angle="-89.8493"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FF24262A" Offset="0.00847458"/>
                                                        <GradientStop Color="#FF484C52" Offset="0.368644"/>
                                                        <GradientStop Color="#FF6D727B" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Path.Fill>
                                        </Path>
                                        <Path x:Name="Path_5" Width="1.18729" Height="24.3534" Canvas.Left="38.4252" Canvas.Top="33.8748" Stretch="Fill" Data="F1 M 39.5515,33.8748L 39.5374,35.5366L 39.5139,56.7636L 39.6125,57.0875L 39.1243,57.5335L 38.7823,57.8694L 38.4252,58.2282L 38.4507,34.3771L 39.0163,34.1236L 39.5515,33.8748 Z ">
                                            <Path.Fill>
                                                <LinearGradientBrush StartPoint="0.227426,0.197977" EndPoint="0.835987,0.197977">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.227426" CenterY="0.197977" AngleX="-10.4582" AngleY="0"/>
                                                            <RotateTransform CenterX="0.227426" CenterY="0.197977" Angle="0.161397"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FF86868D" Offset="0.00847458"/>
                                                        <GradientStop Color="#FF75777E" Offset="0.368644"/>
                                                        <GradientStop Color="#FF64686F" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Path.Fill>
                                        </Path>
                                        <Rectangle x:Name="Rectangle_6" Width="20.2076" Height="24.4143" Canvas.Left="38.9484" Canvas.Top="33.3234" Stretch="Fill" StrokeThickness="1.33317" StrokeLineJoin="Round">
                                            <Rectangle.Stroke>
                                                <LinearGradientBrush StartPoint="0.531761,0.560448" EndPoint="0.918451,0.560448">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.531761" CenterY="0.560448" AngleX="-4.93483" AngleY="0"/>
                                                            <RotateTransform CenterX="0.531761" CenterY="0.560448" Angle="253.83"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FF9C9C9C" Offset="0.00847458"/>
                                                        <GradientStop Color="#FFC1C1C1" Offset="0.368644"/>
                                                        <GradientStop Color="#FFE7E7E7" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Rectangle.Stroke>
                                            <Rectangle.Fill>
                                                <LinearGradientBrush StartPoint="0.534005,0.56394" EndPoint="0.943418,0.56394">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.534005" CenterY="0.56394" AngleX="-5.25288" AngleY="0"/>
                                                            <RotateTransform CenterX="0.534005" CenterY="0.56394" Angle="253.643"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FFECF2FD" Offset="0.00847458"/>
                                                        <GradientStop Color="#FFF4F8FE" Offset="0.368644"/>
                                                        <GradientStop Color="#FFFCFEFF" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Rectangle.Fill>
                                        </Rectangle>
                                        <Path x:Name="Path_7" Width="12.6035" Height="8.37535" Canvas.Left="42.6216" Canvas.Top="45.9304" Stretch="Fill" Data="F1 M 44.7977,53.2176C 45.3493,52.6661 46.0529,52.2902 46.7018,51.8575C 47.5023,51.3239 48.0634,50.4962 48.7874,49.8627C 49.2607,49.4485 49.8555,49.1888 50.3288,48.7747C 51.057,48.1375 51.8215,47.5418 52.5956,46.9612C 52.9779,46.6744 53.3133,46.2709 53.7743,46.1451C 53.9517,46.0967 54.1381,46.0905 54.3184,46.0545C 54.4406,46.03 54.5574,45.9792 54.6811,45.9638C 54.801,45.9488 54.9431,45.8967 55.0437,45.9638C 55.1562,46.0388 55.2251,46.1913 55.2251,46.3265C 55.2251,47.2252 54.1133,47.7599 53.4117,48.3213C 52.3107,49.202 51.0458,49.8669 49.7847,50.4974C 48.4271,51.1763 47.394,52.3898 46.0671,53.127C 45.006,53.7165 43.7073,53.7629 42.6216,54.3057">
                                            <Path.Fill>
                                                <LinearGradientBrush StartPoint="-0.086147,0.530395" EndPoint="1,0.530395">
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FFECF2FD" Offset="0.00847458"/>
                                                        <GradientStop Color="#FFF4F8FE" Offset="0.119296"/>
                                                        <GradientStop Color="#FFFCFEFF" Offset="0.313559"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Path.Fill>
                                        </Path>
                                        <Path x:Name="Path_8" Width="13.904" Height="6.1288" Canvas.Left="43.0294" Canvas.Top="48.656" Stretch="Fill" Data="F1 M 44.9336,54.0285C 45.8618,53.8428 46.7748,53.564 47.6537,53.2124C 48.1862,52.9995 48.8192,53.0017 49.2859,52.6684C 50.1811,52.0289 50.9824,51.2567 51.9154,50.6736C 52.7902,50.1268 53.6222,49.5028 54.5449,49.0414C 55.0115,48.8082 55.6522,48.48 56.0863,48.7695C 56.615,49.1219 57.0565,49.8758 56.9024,50.4922C 56.6069,51.6743 55.4137,52.6033 54.2729,53.0311C 53.0829,53.4774 51.7256,53.0547 50.4646,53.2124C 49.2394,53.3656 48.2169,54.273 47.019,54.5725C 45.7276,54.8954 44.3607,54.7538 43.0294,54.7538">
                                            <Path.Fill>
                                                <LinearGradientBrush StartPoint="0.658654,0.699072" EndPoint="0.94043,0.699072">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.658654" CenterY="0.699072" AngleX="15.7279" AngleY="0"/>
                                                            <RotateTransform CenterX="0.658654" CenterY="0.699072" Angle="266.019"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FFECF2FD" Offset="0.00847458"/>
                                                        <GradientStop Color="#FFF4F8FE" Offset="0.119296"/>
                                                        <GradientStop Color="#FFFCFEFF" Offset="0.313559"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Path.Fill>
                                        </Path>
                                        <Path x:Name="Path_9" Width="20.2161" Height="1.13684" Canvas.Left="58.811" Canvas.Top="56.9222" Stretch="Fill" Data="F1 M 59.9688,56.9222L 60.8959,56.966L 78.521,56.941L 79.0272,56.9362L 78.9615,57.3447L 78.8958,57.692L 78.8264,58.0466L 58.811,58.059L 59.4149,57.4479L 59.9688,56.9222 Z ">
                                            <Path.Fill>
                                                <LinearGradientBrush StartPoint="0.228711,0.807366" EndPoint="0.864277,0.807366">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.228711" CenterY="0.807366" AngleX="-11.2597" AngleY="0"/>
                                                            <RotateTransform CenterX="0.228711" CenterY="0.807366" Angle="-89.8506"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FF24262A" Offset="0.00847458"/>
                                                        <GradientStop Color="#FF484C52" Offset="0.368644"/>
                                                        <GradientStop Color="#FF6D727B" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Path.Fill>
                                        </Path>
                                        <Path x:Name="Path_10" Width="1.18729" Height="24.3535" Canvas.Left="58.8237" Canvas.Top="33.7141" Stretch="Fill" Data="F1 M 59.95,33.7141L 59.9359,35.3759L 59.9124,56.603L 60.011,56.9268L 59.5228,57.3728L 59.1808,57.7087L 58.8237,58.0676L 58.8493,34.2164L 59.4149,33.9629L 59.95,33.7141 Z ">
                                            <Path.Fill>
                                                <LinearGradientBrush StartPoint="0.227426,0.197979" EndPoint="0.835987,0.197979">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.227426" CenterY="0.197979" AngleX="-10.4582" AngleY="0"/>
                                                            <RotateTransform CenterX="0.227426" CenterY="0.197979" Angle="0.161395"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FF86868D" Offset="0.00847458"/>
                                                        <GradientStop Color="#FF75777E" Offset="0.368644"/>
                                                        <GradientStop Color="#FF64686F" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Path.Fill>
                                        </Path>
                                        <Rectangle x:Name="Rectangle_11" Width="20.2076" Height="24.4143" Canvas.Left="59.347" Canvas.Top="33.1627" Stretch="Fill" StrokeThickness="1.33317" StrokeLineJoin="Round">
                                            <Rectangle.Stroke>
                                                <LinearGradientBrush StartPoint="0.531761,0.560447" EndPoint="0.91845,0.560447">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.531761" CenterY="0.560447" AngleX="-4.93489" AngleY="0"/>
                                                            <RotateTransform CenterX="0.531761" CenterY="0.560447" Angle="253.83"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FF9C9C9C" Offset="0.00847458"/>
                                                        <GradientStop Color="#FFC1C1C1" Offset="0.368644"/>
                                                        <GradientStop Color="#FFE7E7E7" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Rectangle.Stroke>
                                            <Rectangle.Fill>
                                                <LinearGradientBrush StartPoint="0.534005,0.563938" EndPoint="0.943417,0.563938">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.534005" CenterY="0.563938" AngleX="-5.25296" AngleY="0"/>
                                                            <RotateTransform CenterX="0.534005" CenterY="0.563938" Angle="253.643"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FFECF2FD" Offset="0.00847458"/>
                                                        <GradientStop Color="#FFF4F8FE" Offset="0.368644"/>
                                                        <GradientStop Color="#FFFCFEFF" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Rectangle.Fill>
                                        </Rectangle>
                                        <Path x:Name="Path_12" Width="12.6035" Height="8.37534" Canvas.Left="63.0201" Canvas.Top="45.7697" Stretch="Fill" Data="F1 M 65.1963,53.0569C 65.7478,52.5054 66.4514,52.1295 67.1004,51.6968C 67.9008,51.1633 68.4619,50.3355 69.1859,49.702C 69.6592,49.2879 70.254,49.0281 70.7273,48.614C 71.4556,47.9767 72.22,47.3811 72.9941,46.8005C 73.3765,46.5137 73.7119,46.1102 74.1729,45.9844C 74.3503,45.9361 74.5367,45.9299 74.7169,45.8938C 74.8391,45.8693 74.956,45.8185 75.0796,45.8031C 75.1996,45.7881 75.3417,45.736 75.4423,45.8031C 75.5547,45.8781 75.6237,46.0306 75.6237,46.1658C 75.6237,47.0645 74.5119,47.5992 73.8102,48.1606C 72.7093,49.0413 71.4443,49.7062 70.1833,50.3367C 68.8257,51.0156 67.7925,52.2291 66.4657,52.9662C 65.4046,53.5558 64.1059,53.6022 63.0201,54.145">
                                            <Path.Fill>
                                                <LinearGradientBrush StartPoint="-0.086147,0.530402" EndPoint="1,0.530402">
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FFECF2FD" Offset="0.00847458"/>
                                                        <GradientStop Color="#FFF4F8FE" Offset="0.119296"/>
                                                        <GradientStop Color="#FFFCFEFF" Offset="0.313559"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Path.Fill>
                                        </Path>
                                        <Path x:Name="Path_13" Width="13.904" Height="6.1288" Canvas.Left="63.428" Canvas.Top="48.4953" Stretch="Fill" Data="F1 M 65.3322,53.8678C 66.2604,53.6821 67.1734,53.4033 68.0524,53.0517C 68.5848,52.8387 69.2178,52.841 69.6845,52.5077C 70.5797,51.8682 71.381,51.096 72.314,50.5129C 73.1888,49.9661 74.0208,49.3421 74.9435,48.8808C 75.4102,48.6475 76.0508,48.3194 76.4849,48.6088C 77.0136,48.9612 77.4551,49.7151 77.301,50.3315C 77.0055,51.5135 75.8123,52.4426 74.6714,52.8704C 73.4815,53.3167 72.1243,52.8941 70.8632,53.0517C 69.638,53.2049 68.6155,54.1124 67.4176,54.4118C 66.1262,54.7347 64.7593,54.5932 63.428,54.5932">
                                            <Path.Fill>
                                                <LinearGradientBrush StartPoint="0.658654,0.699067" EndPoint="0.94043,0.699067">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.658654" CenterY="0.699067" AngleX="15.7278" AngleY="0"/>
                                                            <RotateTransform CenterX="0.658654" CenterY="0.699067" Angle="266.019"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FFECF2FD" Offset="0.00847458"/>
                                                        <GradientStop Color="#FFF4F8FE" Offset="0.119296"/>
                                                        <GradientStop Color="#FFFCFEFF" Offset="0.313559"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Path.Fill>
                                        </Path>
                                        <Path x:Name="Path_14" Width="20.2162" Height="1.1369" Canvas.Left="79.3641" Canvas.Top="57.0333" Stretch="Fill" Data="F1 M 80.5219,57.0333L 81.449,57.0771L 99.074,57.0521L 99.5802,57.0474L 99.5145,57.4557L 99.4488,57.8032L 99.3794,58.1578L 79.3641,58.1702L 79.968,57.559L 80.5219,57.0333 Z ">
                                            <Path.Fill>
                                                <LinearGradientBrush StartPoint="0.228711,0.807376" EndPoint="0.864242,0.807376">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.228711" CenterY="0.807376" AngleX="-11.2592" AngleY="0"/>
                                                            <RotateTransform CenterX="0.228711" CenterY="0.807376" Angle="-89.8493"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FF24262A" Offset="0.00847458"/>
                                                        <GradientStop Color="#FF484C52" Offset="0.368644"/>
                                                        <GradientStop Color="#FF6D727B" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Path.Fill>
                                        </Path>
                                        <Path x:Name="Path_15" Width="1.18732" Height="24.3534" Canvas.Left="79.3768" Canvas.Top="33.8253" Stretch="Fill" Data="F1 M 80.5031,33.8253L 80.489,35.487L 80.4655,56.7141L 80.5641,57.038L 80.0759,57.4839L 79.7339,57.8198L 79.3768,58.1786L 79.4023,34.3276L 79.9679,34.074L 80.5031,33.8253 Z ">
                                            <Path.Fill>
                                                <LinearGradientBrush StartPoint="0.22742,0.197977" EndPoint="0.835966,0.197977">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.22742" CenterY="0.197977" AngleX="-10.4579" AngleY="0"/>
                                                            <RotateTransform CenterX="0.22742" CenterY="0.197977" Angle="0.161401"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FF86868D" Offset="0.00847458"/>
                                                        <GradientStop Color="#FF75777E" Offset="0.368644"/>
                                                        <GradientStop Color="#FF64686F" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Path.Fill>
                                        </Path>
                                        <Rectangle x:Name="Rectangle_16" Width="20.2076" Height="24.4143" Canvas.Left="79.9001" Canvas.Top="33.2738" Stretch="Fill" StrokeThickness="1.33317" StrokeLineJoin="Round">
                                            <Rectangle.Stroke>
                                                <LinearGradientBrush StartPoint="0.531761,0.560448" EndPoint="0.918451,0.560448">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.531761" CenterY="0.560448" AngleX="-4.93482" AngleY="0"/>
                                                            <RotateTransform CenterX="0.531761" CenterY="0.560448" Angle="253.83"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FF9C9C9C" Offset="0.00847458"/>
                                                        <GradientStop Color="#FFC1C1C1" Offset="0.368644"/>
                                                        <GradientStop Color="#FFE7E7E7" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Rectangle.Stroke>
                                            <Rectangle.Fill>
                                                <LinearGradientBrush StartPoint="0.534005,0.56394" EndPoint="0.943418,0.56394">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.534005" CenterY="0.56394" AngleX="-5.25288" AngleY="0"/>
                                                            <RotateTransform CenterX="0.534005" CenterY="0.56394" Angle="253.643"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FFECF2FD" Offset="0.00847458"/>
                                                        <GradientStop Color="#FFF4F8FE" Offset="0.368644"/>
                                                        <GradientStop Color="#FFFCFEFF" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Rectangle.Fill>
                                        </Rectangle>
                                        <Path x:Name="Path_17" Width="12.6035" Height="8.37535" Canvas.Left="83.5732" Canvas.Top="45.8808" Stretch="Fill" Data="F1 M 85.7493,53.168C 86.3009,52.6165 87.0045,52.2407 87.6535,51.808C 88.4539,51.2744 89.015,50.4466 89.739,49.8132C 90.2123,49.399 90.8071,49.1392 91.2804,48.7251C 92.0086,48.0879 92.7731,47.4922 93.5472,46.9116C 93.9295,46.6249 94.2649,46.2214 94.726,46.0956C 94.9033,46.0472 95.0897,46.041 95.27,46.0049C 95.3922,45.9805 95.509,45.9297 95.6327,45.9142C 95.7526,45.8992 95.8948,45.8472 95.9954,45.9142C 96.1078,45.9892 96.1767,46.1418 96.1767,46.2769C 96.1767,47.1756 95.065,47.7104 94.3633,48.2717C 93.2623,49.1525 91.9974,49.8173 90.7364,50.4479C 89.3787,51.1267 88.3456,52.3403 87.0187,53.0774C 85.9577,53.6669 84.6589,53.7133 83.5732,54.2562">
                                            <Path.Fill>
                                                <LinearGradientBrush StartPoint="-0.0861445,0.530395" EndPoint="1,0.530395">
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FFECF2FD" Offset="0.00847458"/>
                                                        <GradientStop Color="#FFF4F8FE" Offset="0.119296"/>
                                                        <GradientStop Color="#FFFCFEFF" Offset="0.313559"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Path.Fill>
                                        </Path>
                                        <Path x:Name="Path_18" Width="13.904" Height="6.1288" Canvas.Left="83.9811" Canvas.Top="48.6064" Stretch="Fill" Data="F1 M 85.8853,53.9789C 86.8135,53.7933 87.7265,53.5145 88.6054,53.1628C 89.1378,52.9499 89.7709,52.9521 90.2375,52.6188C 91.1328,51.9793 91.9341,51.2071 92.8671,50.624C 93.7419,50.0773 94.5739,49.4532 95.4965,48.9919C 95.9632,48.7586 96.6039,48.4305 97.038,48.7199C 97.5667,49.0723 98.0082,49.8262 97.854,50.4427C 97.5585,51.6247 96.3654,52.5537 95.2245,52.9815C 94.0346,53.4278 92.6773,53.0052 91.4163,53.1628C 90.191,53.316 89.1686,54.2234 87.9707,54.5229C 86.6792,54.8459 85.3123,54.7043 83.9811,54.7043">
                                            <Path.Fill>
                                                <LinearGradientBrush StartPoint="0.658654,0.699072" EndPoint="0.94043,0.699072">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.658654" CenterY="0.699072" AngleX="15.7279" AngleY="0"/>
                                                            <RotateTransform CenterX="0.658654" CenterY="0.699072" Angle="266.019"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FFECF2FD" Offset="0.00847458"/>
                                                        <GradientStop Color="#FFF4F8FE" Offset="0.119296"/>
                                                        <GradientStop Color="#FFFCFEFF" Offset="0.313559"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Path.Fill>
                                        </Path>
                                        <TextBlock x:Name="TextBlock" FontFamily="Segoe UI" FontSize="18" Canvas.Left="0" Canvas.Top="0">
			                                <TextBlock.RenderTransform>
				                                <TransformGroup>
					                                <MatrixTransform Matrix="1.33333,0,0,1.33333,41.6863,27.8141"/>
				                                </TransformGroup>
			                                </TextBlock.RenderTransform>
			                                <Run Text="A" Foreground="#FF000000"/>
                                        </TextBlock>
                                        <TextBlock x:Name="TextBlock_19" FontFamily="Segoe UI" FontSize="18" Canvas.Left="0" Canvas.Top="0">
			                                <TextBlock.RenderTransform>
				                                <TransformGroup>
					                                <MatrixTransform Matrix="1.33333,0,0,1.33333,41.6863,27.8141"/>
				                                </TransformGroup>
			                                </TextBlock.RenderTransform>
			                                <Run Text="A" Foreground="#FF000000"/>
                                        </TextBlock>
                                        <TextBlock x:Name="TextBlock_20" FontFamily="Segoe UI" FontSize="18" Canvas.Left="0" Canvas.Top="0">
			                                <TextBlock.RenderTransform>
				                                <TransformGroup>
					                                <MatrixTransform Matrix="1.33333,0,0,1.33333,61.8272,27.2153"/>
				                                </TransformGroup>
			                                </TextBlock.RenderTransform>
			                                <Run Text="B" Foreground="#FF000000"/>
                                        </TextBlock>
                                        <TextBlock x:Name="TextBlock_21" FontFamily="Segoe UI" FontSize="18" Canvas.Left="0" Canvas.Top="0">
			                                <TextBlock.RenderTransform>
				                                <TransformGroup>
					                                <MatrixTransform Matrix="1.33333,0,0,1.33333,82.3802,27.1042"/>
				                                </TransformGroup>
			                                </TextBlock.RenderTransform>
			                                <Run Text="C" Foreground="#FF000000"/>
                                        </TextBlock>
                                    </Canvas>
                                </Canvas>
                            </Border>

                            <Border x:Name="picker" Visibility="Collapsed" Background="#66000000" Padding="7" BorderBrush="Black" BorderThickness="1">
                                <ListBox x:Name="PART_PredefinedItems" Height="470">
                                    <ListBox.ItemsPanel>
                                        <ItemsPanelTemplate>
                                            <panels:ScrambledMultiColumnStackPanel MinAngle="-20" MaxAngle="20" Columns="7">
                                                <panels:ScrambledMultiColumnStackPanel.Background>
                                                    <RadialGradientBrush>
                                                        <RadialGradientBrush.RelativeTransform>
                                                            <TransformGroup>
                                                                <ScaleTransform/>
                                                                <SkewTransform/>
                                                                <RotateTransform/>
                                                                <TranslateTransform X="-0.19" Y="-0.169"/>
                                                            </TransformGroup>
                                                        </RadialGradientBrush.RelativeTransform>
                                                        <GradientStop Color="#FFFFFFFF"/>
                                                        <GradientStop Color="#FFDDDDDD" Offset="1"/>
                                                    </RadialGradientBrush>
                                                </panels:ScrambledMultiColumnStackPanel.Background>
                                            </panels:ScrambledMultiColumnStackPanel>
                                        </ItemsPanelTemplate>
                                    </ListBox.ItemsPanel>

                                    <ListBox.ItemContainerStyle>
                                        <Style TargetType="ListBoxItem">
                                            <Setter Property="HorizontalAlignment" Value="Left" />
                                            <Setter Property="Template">
                                                <Setter.Value>
                                                    <ControlTemplate TargetType="ListBoxItem">
                                                        <Border Background="White" BorderThickness="1,1,2,2" BorderBrush="#454545" Margin="2">
                                                            <ContentPresenter />
                                                        </Border>
                                                    </ControlTemplate>
                                                </Setter.Value>
                                            </Setter>
                                        </Style>
                                    </ListBox.ItemContainerStyle>

                                    <sys:String>name</sys:String>
                                    <sys:String>very</sys:String>
                                    <sys:String>though</sys:String>
                                    <sys:String>just</sys:String>
                                    <sys:String>form</sys:String>
                                    <sys:String>sentence</sys:String>
                                    <sys:String>great</sys:String>
                                    <sys:String>cause</sys:String>
                                    <sys:String>much</sys:String>
                                    <sys:String>before</sys:String>
                                    <sys:String>move</sys:String>
                                    <sys:String>right</sys:String>
                                    <sys:String>boy</sys:String>
                                    <sys:String>old</sys:String>
                                    <sys:String>too</sys:String>
                                    <sys:String>want</sys:String>
                                    <sys:String>ari</sys:String>
                                    <sys:String>well</sys:String>
                                    <sys:String>small</sys:String>
                                    <sys:String>end</sys:String>
                                    <sys:String>gentle</sys:String>
                                    <sys:String>woman</sys:String>
                                    <sys:String>captain</sys:String>
                                    <sys:String>change</sys:String>
                                    <sys:String>chance</sys:String>
                                    <sys:String>stretch</sys:String>
                                    <sys:String>column</sys:String>
                                    <sys:String>molecule</sys:String>
                                    <sys:String>select</sys:String>
                                    <sys:String>insect</sys:String>
                                    <sys:String>ring</sys:String>
                                    <sys:String>locate</sys:String>
                                    <sys:String>spoke</sys:String>
                                    <sys:String>love</sys:String>
                                    <sys:String>hate</sys:String>
                                    <sys:String>winter</sys:String>
                                    <sys:String>snow</sys:String>
                                    <sys:String>fall</sys:String>
                                    <sys:String>spring</sys:String>
                                    <sys:String>summer</sys:String>
                                    <sys:String>sun</sys:String>
                                    <sys:String>here</sys:String>
                                    <sys:String>moon</sys:String>
                                    <sys:String>light</sys:String>
                                    <sys:String>silver</sys:String>
                                    <sys:String>dot</sys:String>
                                    <sys:String>net</sys:String>
                                    <sys:String>c</sys:String>
                                    <sys:String>sharp</sys:String>
                                    <sys:String>property</sys:String>
                                    <sys:String>beautiful</sys:String>
                                    <sys:String>you</sys:String>
                                    <sys:String>I</sys:String>
                                    <sys:String>he</sys:String>
                                    <sys:String>her</sys:String>
                                    <sys:String>she</sys:String>
                                    <sys:String>him</sys:String>
                                    <sys:String>them</sys:String>
                                    <sys:String>they</sys:String>
                                    <sys:String>we</sys:String>
                                    <sys:String>are</sys:String>
                                    <sys:String>shop</sys:String>
                                    <sys:String>ing</sys:String>
                                    <sys:String>from</sys:String>
                                    <sys:String>to</sys:String>
                                    <sys:String>toward</sys:String>
                                    <sys:String>war</sys:String>
                                    <sys:String>salt</sys:String>
                                    <sys:String>example</sys:String>
                                    <sys:String>always</sys:String>
                                    <sys:String>will</sys:String>
                                    <sys:String>both</sys:String>
                                    <sys:String>mark</sys:String>
                                    <sys:String>often</sys:String>
                                    <sys:String>ugly</sys:String>
                                    <sys:String>person</sys:String>
                                    <sys:String>appear</sys:String>
                                    <sys:String>map</sys:String>
                                    <sys:String>rain</sys:String>
                                    <sys:String>rule</sys:String>
                                    <sys:String>bar</sys:String>
                                    <sys:String>until</sys:String>
                                    <sys:String>week</sys:String>
                                    <sys:String>body</sys:String>
                                    <sys:String>song</sys:String>
                                    <sys:String>behind</sys:String>
                                    <sys:String>ocean</sys:String>
                                    <sys:String>the</sys:String>
                                    <sys:String>of</sys:String>
                                    <sys:String>if</sys:String>
                                    <sys:String>to</sys:String>
                                    <sys:String>and</sys:String>
                                    <sys:String>drink</sys:String>
                                    <sys:String>car</sys:String>
                                    <sys:String>table</sys:String>
                                    <sys:String>hair</sys:String>
                                    <sys:String>computer</sys:String>
                                    <sys:String>flower</sys:String>
                                    <sys:String>screen</sys:String>
                                    <sys:String>movie</sys:String>
                                    <sys:String>artist</sys:String>
                                    <sys:String>shoes</sys:String>
                                    <sys:String>art</sys:String>
                                    <sys:String>house</sys:String>
                                    <sys:String>leaf</sys:String>
                                    <sys:String>box</sys:String>
                                    <sys:String>book</sys:String>
                                    <sys:String>floor</sys:String>
                                    <sys:String>pen</sys:String>
                                    <sys:String>color</sys:String>
                                    <sys:String>boat</sys:String>
                                    <sys:String>water</sys:String>
                                    <sys:String>junk</sys:String>
                                    <sys:String>ball</sys:String>
                                    <sys:String>s</sys:String>
                                    <sys:String>fridge</sys:String>
                                    <sys:String>mp3</sys:String>
                                    <sys:String>play</sys:String>
                                    <sys:String>er</sys:String>
                                    <sys:String>coffe</sys:String>
                                    <sys:String>cake</sys:String>
                                    <sys:String>bear</sys:String>
                                    <sys:String>beer</sys:String>
                                    <sys:String>mountain</sys:String>
                                    <sys:String>absolute</sys:String>
                                    <sys:String>north</sys:String>
                                </ListBox>
                            </Border>
                        </Canvas>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Key="imagePickerStyle" TargetType="itemPicker:ItemPickerControl">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="itemPicker:ItemPickerControl">
                        <Canvas>
                            <vsm:VisualStateManager.VisualStateGroups>
                                <vsm:VisualStateGroup x:Name="CommonStates">
                                    <vsm:VisualStateGroup.Transitions>
                                        <vsm:VisualTransition GeneratedDuration="0:0:0.2" To="Opened"/>
                                    </vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualState x:Name="Thumbnailed"/>
                                    <vsm:VisualState x:Name="Opened">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="picker" Storyboard.TargetProperty="(UIElement.Visibility)">
                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                    <DiscreteObjectKeyFrame.Value>
                                                        <Visibility>Visible</Visibility>
                                                    </DiscreteObjectKeyFrame.Value>
                                                </DiscreteObjectKeyFrame>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                </vsm:VisualStateGroup>
                            </vsm:VisualStateManager.VisualStateGroups>

                            <Border x:Name="thumbnail" Width="90" Height="90">
                                <Canvas x:Name="AddImageIcon" Width="145.974" Height="133.977" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Center" VerticalAlignment="Center">
                                    <Canvas.RenderTransform>
                                        <ScaleTransform ScaleX="0.7" ScaleY="0.7" />
                                    </Canvas.RenderTransform>
                                    <Canvas x:Name="Layer_1" Width="145.974" Height="133.977" Canvas.Left="0" Canvas.Top="0">
                                        <Rectangle x:Name="Rectangle" Width="101.321" Height="99.5432" Canvas.Left="21.8375" Canvas.Top="14.6171" Stretch="Fill" Fill="#FF757575"/>
                                        <Rectangle x:Name="Rectangle_0" Width="103.72" Height="101.943" Canvas.Left="17.2378" Canvas.Top="9.57878" Stretch="Fill" StrokeThickness="2.3997" StrokeLineJoin="Round" Stroke="#FF778B90">
                                            <Rectangle.Fill>
                                                <LinearGradientBrush StartPoint="0.745614,1.03571" EndPoint="1.67179,1.03571">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.745614" CenterY="1.03571" AngleX="0.720077" AngleY="0"/>
                                                            <RotateTransform CenterX="0.745614" CenterY="1.03571" Angle="247.738"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FFF5F8DB" Offset="0.0127119"/>
                                                        <GradientStop Color="#FFFFFFFF" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Rectangle.Fill>
                                        </Rectangle>
                                        <Rectangle x:Name="Rectangle_1" Width="85.9448" Height="70.8356" Canvas.Left="26.0723" Canvas.Top="17.5777" Stretch="Fill" StrokeThickness="2.3997" StrokeLineJoin="Round" Stroke="#FF000000">
                                            <Rectangle.Fill>
                                                <LinearGradientBrush StartPoint="0.656913,-0.480519" EndPoint="1.98163,-0.480519">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.656913" CenterY="-0.480519" AngleX="-0.225585" AngleY="0"/>
                                                            <RotateTransform CenterX="0.656913" CenterY="-0.480519" Angle="90.4597"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FF10398B" Offset="0"/>
                                                        <GradientStop Color="#FF03C1FF" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Rectangle.Fill>
                                        </Rectangle>
                                        <Path x:Name="Path" Width="84.0352" Height="42.4068" Canvas.Left="27.2216" Canvas.Top="45.2149" Stretch="Fill" StrokeThickness="2.3997" StrokeLineJoin="Round" Stroke="#FF000000" Data="F1 M 28.5773,85.9359C 28.0722,85.4474 28.9296,84.5646 29.2438,83.9361C 29.926,82.5718 30.8569,81.3445 31.7435,80.1033C 32.439,79.1296 32.4426,77.785 33.0767,76.7703C 33.5012,76.091 34.0515,75.4872 34.4099,74.7706C 34.7241,74.1422 34.6681,73.3427 35.0764,72.7709C 35.4899,72.192 36.0566,71.722 36.4096,71.1044C 36.5199,70.9115 36.3315,70.6459 36.4096,70.4378C 37.0292,68.7857 38.2897,67.4239 38.9093,65.7717C 39.3293,64.6514 39.8224,63.5591 40.2424,62.4388C 40.4892,61.7809 40.7386,61.1207 40.9091,60.439C 41.0847,59.7364 41.6545,59.1953 42.0756,58.606C 42.2087,58.4196 42.0803,58.1013 42.2422,57.9394C 42.4042,57.7774 42.704,57.6703 42.9088,57.7728C 43.131,57.8839 43.1105,58.2287 43.2421,58.4393C 43.3893,58.6749 43.5754,58.8837 43.7421,59.1059C 44.5194,60.1424 44.9645,61.4023 45.7418,62.4388C 46.5199,63.4763 47.278,65.1052 48.5748,65.1052C 49.3464,65.1052 49.9201,64.3476 50.5745,63.9387C 51.2289,63.5296 52.0286,63.3177 52.5742,62.7721C 53.12,62.2264 53.3318,61.4268 53.7408,60.7723C 54.5588,59.4636 55.5319,58.218 56.0739,56.7729C 56.8505,54.7022 57.7347,52.649 58.9068,50.7736C 59.0385,50.5629 59.1084,50.3177 59.2401,50.107C 59.3873,49.8715 59.6158,49.6888 59.7401,49.4404C 59.8425,49.2356 59.7448,48.9358 59.9067,48.7739C 60.0686,48.6119 60.3684,48.5048 60.5732,48.6072C 61.249,48.9451 61.506,49.7996 61.9064,50.4403C 62.6087,51.5639 63.3706,52.6496 64.0729,53.7733C 64.885,55.0727 66.1556,56.0226 67.2391,57.1061C 69.0587,58.9258 71.165,61.2723 73.7383,61.2723C 74.4072,61.2723 74.8493,60.4835 75.2381,59.9391C 75.8583,59.0709 76.6724,58.3443 77.2379,57.4395C 77.7392,56.6373 78.1533,55.0436 79.071,55.273C 81.3446,55.8415 82.7447,58.6486 85.0702,58.9393C 87.4614,59.2381 89.6415,57.2189 91.5694,55.773C 92.8582,54.8065 93.8539,53.4965 94.9023,52.2734C 95.5689,51.4957 96.1779,50.6646 96.9021,49.9404C 97.4305,49.4119 97.9535,48.8718 98.4019,48.2739C 98.5685,48.0517 98.7054,47.8038 98.9019,47.6074C 99.0983,47.4109 99.4306,47.3486 99.5684,47.1074C 99.6786,46.9145 99.3697,46.5402 99.5684,46.4408C 99.7906,46.3297 100.059,46.5984 100.235,46.7741C 100.956,47.4952 101.279,48.5284 101.735,49.4404C 102.228,50.4266 103.26,51.0429 103.901,51.9401C 104.582,52.8937 105.113,53.946 105.734,54.9398C 106.884,56.7792 109.139,57.908 109.9,59.9391C 110.291,60.9794 109.763,62.1697 109.9,63.272C 110.038,64.3745 110.17,65.5272 109.9,66.605C 109.631,67.6828 109.9,68.8269 109.9,69.9379C 109.9,72.1626 109.843,74.3962 109.567,76.6037C 109.264,79.0296 109.401,81.4913 109.401,83.9361C 109.401,84.6232 110.156,85.2979 109.9,85.9359C 109.815,86.1485 109.461,86.0742 109.234,86.1025C 109.013,86.1301 108.788,86.075 108.567,86.1025C 107.63,86.2197 106.673,86.2068 105.734,86.1025C 103.194,85.8203 100.605,85.6188 98.0686,85.9359C 92.9425,86.5767 87.7366,85.9359 82.5706,85.9359C 78.6805,85.9359 74.7653,86.7517 70.9053,86.2692C 68.0386,85.9108 65.1064,86.4609 62.2397,86.1025C 56.7234,85.4129 51.0915,84.7463 45.5751,85.436C 44.5815,85.5602 43.5708,85.1587 42.5756,85.2693C 40.5321,85.4964 38.4498,85.181 36.4096,85.436C 34.8652,85.629 33.2534,85.98 31.7435,85.6026C 31.0969,85.4409 30.3996,85.4833 29.7438,85.6026C 29.3459,85.6749 28.8679,86.217 28.5773,85.9359 Z ">
                                            <Path.Fill>
                                                <LinearGradientBrush StartPoint="0.518368,0.954531" EndPoint="0.518368,0.338051">
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FF32322B" Offset="0.0127119"/>
                                                        <GradientStop Color="#FF808369" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Path.Fill>
                                        </Path>
                                        <Path x:Name="Path_2" Width="74.1544" Height="28.8253" Canvas.Left="35.3019" Canvas.Top="41.405" Stretch="Fill" StrokeThickness="2.3997" StrokeLineJoin="Round" Stroke="#FFEDF3F2" Fill="#FFFFFFFC" Data="F1 M 36.5764,66.4384C 36.0479,64.3148 38.4743,62.4881 39.2427,60.4391C 39.5916,59.5087 40.0493,58.6154 40.5759,57.7728C 40.9529,57.1695 41.2031,56.0181 41.9091,56.1063C 43.0114,56.2441 43.7898,57.3205 44.5754,58.106C 45.1418,58.6725 45.5502,59.3892 45.9086,60.1058C 46.3799,61.0485 48.1628,61.851 48.9081,61.1057C 50.7239,59.2899 52.3799,57.284 53.7409,55.1064C 54.3125,54.1918 55.1953,53.45 55.574,52.4401C 56.1608,50.8754 56.8203,49.3387 57.407,47.774C 57.7797,46.7803 58.5439,45.1835 59.5735,45.441C 60.8141,45.7512 61.9964,46.5668 62.7397,47.6074C 62.8729,47.7938 62.804,48.0691 62.9064,48.274C 63.0306,48.5224 63.1954,48.7598 63.4063,48.9406C 65.804,50.9958 68.2124,53.045 70.7388,54.9398C 71.3431,55.3931 71.957,55.8338 72.5718,56.2729C 72.7979,56.4344 72.8754,56.7431 73.0718,56.9395C 73.2682,57.1359 73.4606,57.4395 73.7383,57.4395C 74.0161,57.4395 74.1827,57.1061 74.4049,56.9395C 74.6271,56.7729 74.8493,56.6063 75.0715,56.4396C 76.3973,55.4453 77.4222,54.0145 78.9044,53.2733C 80.2849,52.5831 81.3724,55.4149 82.9039,55.6064C 84.2675,55.7768 85.5702,54.9398 86.9034,54.6065C 88.8087,54.1302 90.6807,53.1622 92.0694,51.7735C 93.9159,49.927 95.2027,47.5903 96.9021,45.6076C 97.4645,44.9515 98.1662,44.4249 98.7352,43.7745C 98.9182,43.5655 99.0388,43.3043 99.2352,43.1079C 99.4316,42.9115 99.6268,42.5687 99.9017,42.608C 100.666,42.7171 100.797,43.8852 101.068,44.6077C 101.504,45.7708 102.076,46.8874 102.735,47.9407C 102.882,48.1762 103.038,48.4108 103.235,48.6072C 103.431,48.8036 103.74,48.8812 103.901,49.1072C 104.798,50.3631 105.143,52.0153 106.234,53.1067C 107.117,53.9893 108.079,55.0343 108.234,56.2729C 108.345,57.1617 108.012,58.0505 107.901,58.9393C 107.787,59.8483 107.83,60.9101 107.234,61.6057C 105.748,63.3394 102.95,64.3259 100.735,63.772C 98.4608,63.2034 97.0569,60.8483 95.069,59.6059C 94.2264,59.0792 93.3667,58.0317 92.4027,58.2727C 92.1332,58.34 91.9583,58.606 91.7361,58.7726C 91.5139,58.9393 91.3006,59.1185 91.0695,59.2726C 90.2838,59.7964 89.2805,59.9839 88.5698,60.6058C 88.009,61.0965 87.8317,61.9077 87.5699,62.6055C 87.2367,63.4943 86.9034,64.3831 86.5701,65.2718C 86.2617,66.0942 85.9418,67.5472 85.0703,67.4382C 84.2811,67.3396 83.6584,66.6899 82.9039,66.4384C 81.2668,65.8926 79.6758,64.931 78.5711,63.6054C 77.788,62.6656 77.4614,60.7724 76.238,60.7724C 75.9896,60.7724 75.7937,60.9946 75.5715,61.1057C 75.3492,61.2167 75.1375,61.3517 74.9049,61.439C 74.0471,61.7607 73.1476,61.9919 72.2385,62.1055C 70.1637,62.3649 67.7179,61.751 66.2393,60.2725C 64.9604,58.9937 63.5186,57.8851 62.2398,56.6063C 61.4853,55.8517 60.9344,54.9167 60.2401,54.1066C 60.0784,53.918 60.1552,53.44 59.9067,53.44C 59.6846,53.44 59.9067,53.8843 59.9067,54.1066C 59.9067,54.3288 59.9343,54.5527 59.9067,54.7731C 59.8784,55.0004 59.8425,55.2349 59.7401,55.4398C 59.6158,55.6882 59.4366,55.9099 59.2402,56.1063C 58.2677,57.0788 57.0222,57.8758 56.4072,59.1059C 55.3071,61.3061 54.5447,63.6859 53.241,65.7718C 52.6449,66.7256 51.1926,66.814 50.0746,66.9383C 48.3552,67.1293 46.587,67.0186 44.9086,67.4382C 43.6774,67.746 42.6403,68.6302 41.4091,68.938C 39.6496,69.3779 37.0143,68.1983 36.5764,66.4384 Z "/>
                                        <Path x:Name="Path_3" Width="19.1642" Height="18.9976" Canvas.Left="36.0764" Canvas.Top="26.4433" Stretch="Fill" Data="F1 M 45.6584,26.4433C 50.9506,26.4433 55.2406,30.696 55.2406,35.9421C 55.2406,41.1881 50.9506,45.4409 45.6584,45.4409C 40.3664,45.4409 36.0764,41.1881 36.0764,35.9421C 36.0764,30.696 40.3664,26.4433 45.6584,26.4433 Z ">
                                            <Path.Fill>
                                                <RadialGradientBrush RadiusX="0.500002" RadiusY="0.504389" Center="0.499998,0.5" GradientOrigin="0.499998,0.5">
                                                    <RadialGradientBrush.GradientStops>
                                                        <GradientStop Color="#FFFCFCEB" Offset="0.5"/>
                                                        <GradientStop Color="#FFEEF192" Offset="0.771186"/>
                                                        <GradientStop Color="#FFEFF60D" Offset="1"/>
                                                    </RadialGradientBrush.GradientStops>
                                                    <RadialGradientBrush.RelativeTransform>
                                                        <TransformGroup/>
                                                    </RadialGradientBrush.RelativeTransform>
                                                </RadialGradientBrush>
                                            </Path.Fill>
                                        </Path>
                                        <Path x:Name="Path_4" Width="42.2728" Height="8.23177" Canvas.Left="29.8771" Canvas.Top="23.9794" Stretch="Fill" StrokeThickness="2.3997" StrokeLineJoin="Round" Stroke="#FFA9DAF3" Fill="#FFFFFFFC" Data="F1 M 31.5769,28.6097C 32.9365,26.7969 35.9907,27.0263 38.2427,27.2766C 40.3407,27.5096 42.4807,27.0147 44.5753,27.2766C 45.4641,27.3876 46.4821,27.4179 47.2416,26.9432C 47.9078,26.5269 48.1725,25.5526 48.9081,25.2768C 49.7467,24.9623 50.6857,25.499 51.5744,25.61C 52.9076,25.7767 54.3159,25.6382 55.5739,26.11C 56.4457,26.437 57.3091,26.9432 58.2402,26.9432C 59.3568,26.9432 60.49,26.3392 61.5731,26.6099C 63.3277,27.0486 65.1512,27.1712 66.9058,27.6098C 67.8092,27.8356 68.6688,28.2172 69.5721,28.4431C 69.7944,28.4986 70.0115,28.5813 70.2388,28.6097C 70.4592,28.6373 71.1276,28.6097 70.9053,28.6097C 64.2393,28.6097 57.5739,28.7764 50.9078,28.7764C 50.6857,28.7764 51.3522,28.7764 51.5744,28.7764C 51.7966,28.7764 52.0188,28.7764 52.241,28.7764C 53.1367,28.7764 54.0383,28.8924 54.9073,29.1096C 55.1295,29.1652 55.3595,29.1959 55.5739,29.2763C 55.8065,29.3635 56.2405,29.3611 56.2405,29.6096C 56.2405,29.858 55.8149,29.8826 55.5739,29.9429C 55.3583,29.9968 55.1295,29.9429 54.9073,29.9429C 54.2407,29.9429 53.569,29.8602 52.9076,29.9429C 51.0678,30.1728 49.2559,30.6221 47.4082,30.7761C 44.4189,31.0252 41.3859,31.1482 38.4094,30.7761C 35.9741,30.4716 33.2721,31.2071 31.0769,30.1095"/>
                                        <Path x:Name="Path_5" Width="33.6482" Height="15.199" Canvas.Left="75.7046" Canvas.Top="25.8109" Stretch="Fill" StrokeThickness="2.3997" StrokeLineJoin="Round" Stroke="#FFA9DAF3" Data="F1 M 102.235,32.9427C 99.1844,34.468 95.6198,34.6861 92.2358,35.1091C 91.1335,35.2469 90.0054,34.9714 88.903,35.1091C 88.0057,35.2213 87.1409,35.6091 86.2366,35.6091C 84.9023,35.6091 83.5612,35.2769 82.2371,35.4424C 81.5757,35.5251 80.9039,35.4424 80.2374,35.4424C 79.5708,35.4424 78.9042,35.4424 78.2376,35.4424C 78.0154,35.4424 77.7915,35.47 77.571,35.4424C 77.3438,35.414 76.9044,35.0468 76.9044,35.2758C 76.9044,35.9629 78.2376,35.6091 78.9042,35.7757C 79.994,36.0482 81.1137,36.2757 82.2371,36.2757C 82.9037,36.2757 83.5703,36.2757 84.2369,36.2757C 84.4591,36.2757 84.9034,36.0535 84.9034,36.2757C 84.9034,36.5241 84.2369,36.3605 84.2369,36.6089C 84.2369,36.838 84.6762,36.7472 84.9034,36.7756C 85.124,36.8032 85.3496,36.748 85.5701,36.7756C 86.8929,36.941 88.2466,36.6102 89.5695,36.7756C 92.2158,37.1064 94.9016,36.9423 97.5685,36.9423C 99.0591,36.9423 100.089,38.7571 101.568,38.942C 102.492,39.0574 103.331,40.001 104.234,39.7752C 105.585,39.4376 107.091,38.9083 107.901,37.7755C 108.686,36.6757 107.402,35.1171 107.234,33.7759C 107.15,33.1054 106.984,32.4468 106.901,31.7762C 106.815,31.0944 107.671,30.408 107.401,29.7765C 107.085,29.0401 105.967,29.0098 105.401,28.4433C 105.204,28.2469 105.068,27.999 104.901,27.7767C 104.734,27.5545 104.642,27.248 104.401,27.1102C 103.542,26.6194 102.51,28.0587 102.068,28.9432C 101.392,30.2948 100.753,31.9337 99.4016,32.6094">
                                            <Path.Fill>
                                                <LinearGradientBrush StartPoint="-0.0383964,0.492183" EndPoint="1.05546,0.492183">
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FF7AD3F1" Offset="0.0127119"/>
                                                        <GradientStop Color="#FFD9F3FE" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Path.Fill>
                                        </Path>
                                        <Path x:Name="Path_6" Width="40.2536" Height="14.0656" Canvas.Left="69.3585" Canvas.Top="72.1043" Stretch="Fill" Data="F1 M 86.4034,84.936C 86.0111,83.3667 86.6838,81.4981 87.7366,80.27C 88.2065,79.7216 89.2257,79.9473 89.7363,79.4367C 91.327,77.846 91.2202,74.3163 93.4025,73.7708C 94.0515,73.6085 94.7533,73.4418 95.4022,73.6041C 96.1028,73.7792 96.7383,74.7218 97.402,74.4373C 98.3774,74.0193 98.5071,72.1043 99.5684,72.1043C 100.358,72.1043 100.802,73.0903 101.401,73.6041C 101.59,73.7657 101.822,73.9682 102.068,73.9374C 102.344,73.9029 102.46,73.3982 102.735,73.4374C 103.01,73.4767 102.514,76.5545 102.697,76.7635C 103.266,77.4139 104.335,75.4791 105.068,75.9371C 105.278,76.0688 105.488,76.3012 105.734,76.2704C 106.01,76.236 106.165,75.9177 106.401,75.7704C 106.612,75.6388 106.857,75.5688 107.068,75.4372C 107.303,75.29 107.499,75.0845 107.734,74.9373C 107.945,74.8056 108.165,74.5254 108.401,74.6039C 108.636,74.6826 108.647,75.0379 108.734,75.2706C 109.289,76.7499 109.763,78.3688 109.567,79.9366C 109.483,80.6072 109.15,81.2658 109.234,81.9364C 109.343,82.8079 109.145,83.9706 108.401,84.4361C 105.761,86.0859 102.157,84.3834 99.0685,84.7693C 97.7353,84.936 96.3724,85.5952 95.069,85.2693C 94.2001,85.0521 93.2914,84.8249 92.4026,84.936C 90.8118,85.1349 89.2919,85.7137 87.7366,86.1025C 86.6467,86.375 85.5184,85.7419 84.4036,85.6026C 82.8563,85.4091 81.2848,85.4627 79.7375,85.2693C 77.8888,85.0381 75.9828,84.9236 74.2382,84.2694C 73.3915,83.9519 72.4692,83.8817 71.5719,83.7695C 70.8901,83.6843 70.2101,84.5246 69.5721,84.2694C 68.8802,83.9926 70.045,82.7967 70.572,82.2697C 71.6442,81.1976 73.1006,79.7355 74.5715,80.1033C 76.1565,80.4995 77.6165,81.8058 79.2376,81.6031C 80.4056,81.4571 81.4286,80.1511 82.5706,80.4366C 83.7314,80.7267 84.8888,81.1356 85.9034,81.7697C 86.139,81.9169 86.3478,82.103 86.5701,82.2697C 86.7922,82.4363 86.9672,82.7022 87.2366,82.7696C 88.4136,83.0639 89.5592,82.064 90.7362,81.7697">
                                            <Path.Fill>
                                                <LinearGradientBrush StartPoint="-0.041688,0.511923" EndPoint="1.03356,0.511923">
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FF6DDB0F" Offset="0.0127119"/>
                                                        <GradientStop Color="#FF163C00" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Path.Fill>
                                        </Path>
                                        <Path x:Name="Line" Width="0" Height="11.3318" Canvas.Left="110.067" Canvas.Top="89.3245" Stretch="Fill" Data="F1 M 110.067,89.3245L 110.067,100.656"/>
                                        <Path x:Name="Line_7" Width="0" Height="7.11249" Canvas.Left="110.067" Canvas.Top="82.212" Stretch="Fill" Data="F1 M 110.067,82.212L 110.067,89.3245"/>
                                        <Path x:Name="Path_8" Width="63.2127" Height="53.9755" Canvas.Left="71.2012" Canvas.Top="69.3289" Stretch="Fill" StrokeThickness="2.3997" StrokeLineJoin="Round" Stroke="#FF383838" Fill="#FF383838" Data="F1 M 72.415,89.1043L 72.4011,87.3546L 94.6205,87.3546L 94.6591,70.5287L 94.6205,70.5789L 110.216,70.5302L 110.216,88.0923L 133.214,88.0923L 133.214,103.75L 109.585,103.672L 109.779,122.105L 94.2505,122.105L 94.2505,105.136L 72.4011,105.137L 72.4011,88.9334"/>
                                        <Path x:Name="Path_9" Width="63.2127" Height="53.9756" Canvas.Left="68.501" Canvas.Top="66.294" Stretch="Fill" StrokeThickness="2.3997" StrokeLineJoin="Round" Stroke="#FF8E0000" Data="F1 M 69.7147,86.0695L 69.7008,84.3197L 91.9202,84.3197L 91.9589,67.4938L 91.9202,67.544L 107.516,67.4954L 107.516,85.0574L 130.514,85.0574L 130.514,100.715L 106.885,100.637L 107.079,119.07L 91.5502,119.07L 91.5503,102.101L 69.7008,102.102L 69.7009,85.8985">
                                            <Path.Fill>
                                                <LinearGradientBrush StartPoint="0.476811,-0.01195" EndPoint="1.44401,-0.01195">
                                                    <LinearGradientBrush.RelativeTransform>
                                                        <TransformGroup>
                                                            <SkewTransform CenterX="0.476811" CenterY="-0.01195" AngleX="0.169024" AngleY="0"/>
                                                            <RotateTransform CenterX="0.476811" CenterY="-0.01195" Angle="89.567"/>
                                                        </TransformGroup>
                                                    </LinearGradientBrush.RelativeTransform>
                                                    <LinearGradientBrush.GradientStops>
                                                        <GradientStop Color="#FFF44B4B" Offset="0"/>
                                                        <GradientStop Color="#FFFF0000" Offset="0.483051"/>
                                                        <GradientStop Color="#FF940000" Offset="1"/>
                                                    </LinearGradientBrush.GradientStops>
                                                </LinearGradientBrush>
                                            </Path.Fill>
                                        </Path>
                                    </Canvas>
                                </Canvas>
                            </Border>

                            <StackPanel x:Name="picker" Visibility="Collapsed" Background="#66000000">
                                <ListBox x:Name="PART_PredefinedItems">

                                    <ListBox.ItemTemplate>
                                        <DataTemplate>
                                            <Border Margin="5" BorderThickness="1" BorderBrush="Black">
                                                <Border BorderThickness="1" BorderBrush="White">
                                                    <Image Source="{Binding}" MaxHeight="100" MaxWidth="100"/>
                                                </Border>
                                            </Border>
                                        </DataTemplate>
                                    </ListBox.ItemTemplate>

                                    <ListBox.ItemContainerStyle>
                                        <Style TargetType="ListBoxItem">
                                            <Setter Property="Background" Value="Transparent" />
                                            <Setter Property="HorizontalAlignment" Value="Left" />
                                            <Setter Property="Template">
                                                <Setter.Value>
                                                    <ControlTemplate TargetType="ListBoxItem">
                                                        <Border BorderThickness="0" Padding="2">
                                                            <ContentPresenter />
                                                        </Border>
                                                    </ControlTemplate>
                                                </Setter.Value>
                                            </Setter>
                                        </Style>
                                    </ListBox.ItemContainerStyle>

                                    <ListBox.ItemsPanel>
                                        <ItemsPanelTemplate>
                                            <panels:SimpleWrapPanel />
                                        </ItemsPanelTemplate>
                                    </ListBox.ItemsPanel>

                                    <sys:String>images/img0.jpg</sys:String>
                                    <sys:String>images/img1.jpg</sys:String>
                                    <sys:String>images/img2.jpg</sys:String>
                                </ListBox>
                            </StackPanel>
                        </Canvas>

                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <SolidColorBrush x:Key="mainBorder" Color="#FFB5B1B1" />

        <Style x:Key="noBorderTextBoxStyle" TargetType="TextBox">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="TextBox">
                        <Grid x:Name="RootElement">
                            <Grid.Resources>
                                <Storyboard x:Key="Normal State">
                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
                                    </DoubleAnimationUsingKeyFrames>
                                </Storyboard>
                                <Storyboard x:Key="Focused State">
                                    <DoubleAnimationUsingKeyFrames Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                        <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                                    </DoubleAnimationUsingKeyFrames>
                                </Storyboard>
                            </Grid.Resources>
                            <ScrollViewer Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}" x:Name="ContentElement" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}"/>
                            <Rectangle x:Name="FocusVisualElement" IsHitTestVisible="False" Opacity="0" StrokeThickness="2" RadiusX="1" RadiusY="1">
                                <Rectangle.Stroke>
                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop Color="#FFA9B9C5" Offset="0"/>
                                        <GradientStop Color="#FF668499" Offset="0.325"/>
                                        <GradientStop Color="#FF244E6D" Offset="0.325"/>
                                        <GradientStop Color="#FF4F7189" Offset="1"/>
                                    </LinearGradientBrush>
                                </Rectangle.Stroke>
                            </Rectangle>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

        <Style x:Key="fallStyle" TargetType="greeting:GreetingCreatorControl">
            <Setter Property="EmailSubject" Value="You have received a greeting from {0}!" />
            <Setter Property="EmailMessageTemplate" Value="You will find the greeting here: http://localhost/ViewGreeting.aspx?greetingid={0}" />
            <Setter Property="SucceededMessageTemplate" Value="Your greeting has been saved and sent. You find the greeting here: http://localhost/ViewGreeting.aspx?greetingid={0}. It is also possible to embed your greeting in a web page with the following code: &lt;IFRAME src=http://localhost/greeting/Embedded.aspx?greetingid={0} /&gt;" />
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="greeting:GreetingCreatorControl">
                        <Grid>
                            <vsm:VisualStateManager.VisualStateGroups>
                                <vsm:VisualStateGroup x:Name="CommonStates">
                                    <vsm:VisualState x:Name="Normal" />
                                    <vsm:VisualState x:Name="Succeeded">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00" Storyboard.TargetName="disableControlsArea" Storyboard.TargetProperty="(UIElement.Visibility)">
                                                <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                    <DiscreteObjectKeyFrame.Value>
                                                        <Visibility>Collapsed</Visibility>
                                                    </DiscreteObjectKeyFrame.Value>
                                                </DiscreteObjectKeyFrame>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="messageSaved" Storyboard.TargetProperty="(UIElement.Visibility)">
                                                <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                    <DiscreteObjectKeyFrame.Value>
                                                        <Visibility>Visible</Visibility>
                                                    </DiscreteObjectKeyFrame.Value>
                                                </DiscreteObjectKeyFrame>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                    <vsm:VisualState x:Name="CaptchaFailed">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00" Storyboard.TargetName="disableControlsArea" Storyboard.TargetProperty="(UIElement.Visibility)">
                                                <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                    <DiscreteObjectKeyFrame.Value>
                                                        <Visibility>Collapsed</Visibility>
                                                    </DiscreteObjectKeyFrame.Value>
                                                </DiscreteObjectKeyFrame>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="messageCaptchaFailed" Storyboard.TargetProperty="(UIElement.Visibility)">
                                                <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                    <DiscreteObjectKeyFrame.Value>
                                                        <Visibility>Visible</Visibility>
                                                    </DiscreteObjectKeyFrame.Value>
                                                </DiscreteObjectKeyFrame>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                    <vsm:VisualState x:Name="SendEmailFailed">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00" Storyboard.TargetName="disableControlsArea" Storyboard.TargetProperty="(UIElement.Visibility)">
                                                <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                    <DiscreteObjectKeyFrame.Value>
                                                        <Visibility>Collapsed</Visibility>
                                                    </DiscreteObjectKeyFrame.Value>
                                                </DiscreteObjectKeyFrame>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="messageSavedButNotSent" Storyboard.TargetProperty="(UIElement.Visibility)">
                                                <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                    <DiscreteObjectKeyFrame.Value>
                                                        <Visibility>Visible</Visibility>
                                                    </DiscreteObjectKeyFrame.Value>
                                                </DiscreteObjectKeyFrame>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                    <vsm:VisualState x:Name="ReceivingGreetingMode">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00" Storyboard.TargetName="disableControlsArea" Storyboard.TargetProperty="(WaitCursorControl.Text)">
                                                <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="Receiving..." />
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00" Storyboard.TargetName="disableControlsArea" Storyboard.TargetProperty="(UIElement.Visibility)">
                                                <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                    <DiscreteObjectKeyFrame.Value>
                                                        <Visibility>Visible</Visibility>
                                                    </DiscreteObjectKeyFrame.Value>
                                                </DiscreteObjectKeyFrame>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                    <vsm:VisualState x:Name="SendingGreetingMode">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00" Storyboard.TargetName="disableControlsArea" Storyboard.TargetProperty="(WaitCursorControl.Text)">
                                                <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="Sending..." />
                                            </ObjectAnimationUsingKeyFrames>
                                            <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00" Storyboard.TargetName="disableControlsArea" Storyboard.TargetProperty="(UIElement.Visibility)">
                                                <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                                    <DiscreteObjectKeyFrame.Value>
                                                        <Visibility>Visible</Visibility>
                                                    </DiscreteObjectKeyFrame.Value>
                                                </DiscreteObjectKeyFrame>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                    <vsm:VisualState x:Name="InvalidEmail">
                                        <Storyboard>
                                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:02" Storyboard.TargetName="PART_SenderEmail" Storyboard.TargetProperty="(UIElement.Background).(SolidColorBrush.Color)" RepeatBehavior="Forever">
                                                <LinearColorKeyFrame Value="#88FF0000" KeyTime="00:00:01" />
                                                <LinearColorKeyFrame Value="#66FFFFFF" KeyTime="00:00:02" />
                                            </ColorAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                    <vsm:VisualState x:Name="InvalidSendTo">
                                        <Storyboard>
                                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:02" Storyboard.TargetName="PART_SendTo" Storyboard.TargetProperty="(UIElement.Background).(SolidColorBrush.Color)" RepeatBehavior="Forever">
                                                <LinearColorKeyFrame Value="#88FF0000" KeyTime="00:00:01" />
                                                <LinearColorKeyFrame Value="#66FFFFFF" KeyTime="00:00:02" />
                                            </ColorAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                </vsm:VisualStateGroup>
                                <vsm:VisualStateGroup x:Name="PresentationStates">
                                    <vsm:VisualState x:Name="ReadMode">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="sendInfoContainer" Storyboard.TargetProperty="(Border.Visibility)">
                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                    <DiscreteObjectKeyFrame.Value>
                                                        <Visibility>Visible</Visibility>
                                                    </DiscreteObjectKeyFrame.Value>
                                                </DiscreteObjectKeyFrame>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                    <vsm:VisualState x:Name="EditMode">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="sendInfoContainer" Storyboard.TargetProperty="(Border.Visibility)">
                                                <DiscreteObjectKeyFrame KeyTime="0">
                                                    <DiscreteObjectKeyFrame.Value>
                                                        <Visibility>Visible</Visibility>
                                                    </DiscreteObjectKeyFrame.Value>
                                                </DiscreteObjectKeyFrame>
                                            </ObjectAnimationUsingKeyFrames>
                                            <ColorAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.001" Storyboard.TargetName="messageInput" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)">
                                                <SplineColorKeyFrame KeyTime="00:00:00" Value="#66000000"/>
                                            </ColorAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                </vsm:VisualStateGroup>
                            </vsm:VisualStateManager.VisualStateGroups>

                            <Grid.RowDefinitions>
                                <RowDefinition Height="*" />
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>

                            <Border Grid.Row="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" BorderBrush="{StaticResource mainBorder}" BorderThickness="4" Background="#FFFFF8F8">
                                <Grid>
                                    <Border HorizontalAlignment="Stretch" VerticalAlignment="Stretch" BorderThickness="6,6,6,6" CornerRadius="5,5,5,5" BorderBrush="#FFFFBB00" Margin="20">
                                        <Border.Background>
                                            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                <GradientStop Color="#FFF9FF95" Offset="0.705"/>
                                                <GradientStop Color="#FF87FF00" Offset="1"/>
                                                <GradientStop Color="#FFF1FF00" Offset="0.817"/>
                                                <GradientStop Color="#FFC0F1FB" Offset="0.473"/>
                                                <GradientStop Color="#FFE4F7FB" Offset="0"/>
                                            </LinearGradientBrush>
                                        </Border.Background>

                                        <Grid>
                                            <graphics:BackgroundAnimationControl x:Name="backgroundAnimationControl" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                                                <graphics:BackgroundAnimationControl.Background>
                                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                                        <GradientStop Color="#FF000000"/>
                                                        <GradientStop Color="#FFFFFFFF" Offset="1"/>
                                                    </LinearGradientBrush>
                                                </graphics:BackgroundAnimationControl.Background>
                                            </graphics:BackgroundAnimationControl>

                                            <TextBox x:Name="messageInput" TextWrapping="Wrap" FontSize="16" VerticalAlignment="Bottom" Height="150" Background="Transparent" AcceptsReturn="True" VerticalScrollBarVisibility="Auto" IsReadOnly="{TemplateBinding IsReadOnly}" Text="{Binding Message, Mode=TwoWay}" Padding="30,10,30,10" BorderThickness="1" BorderBrush="Transparent" Style="{StaticResource noBorderTextBoxStyle}"/>

                                            <greeting:GraphicElementListBox x:Name="graphicElements" ItemsSource="{Binding GraphicElements}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center">
                                                <greeting:GraphicElementListBox.Style>
                                                    <Style TargetType="ListBox">
                                                        <Setter Property="Template">
                                                            <Setter.Value>
                                                                <ControlTemplate TargetType="ListBox">
                                                                    <Grid>
                                                                        <ScrollViewer Padding="{TemplateBinding Padding}" x:Name="ScrollViewer" BorderThickness="0">
                                                                            <ItemsPresenter/>
                                                                        </ScrollViewer>
                                                                    </Grid>
                                                                </ControlTemplate>
                                                            </Setter.Value>
                                                        </Setter>
                                                    </Style>
                                                </greeting:GraphicElementListBox.Style>

                                                <greeting:GraphicElementListBox.ItemsPanel>
                                                    <ItemsPanelTemplate>
                                                        <Canvas HorizontalAlignment="Center" VerticalAlignment="Center" />
                                                    </ItemsPanelTemplate>
                                                </greeting:GraphicElementListBox.ItemsPanel>

                                                <greeting:GraphicElementListBox.ItemContainerStyle>
                                                    <Style TargetType="ListBoxItem">
                                                        <Setter Property="Background" Value="Transparent" />
                                                        <Setter Property="HorizontalAlignment" Value="Center" />
                                                        <Setter Property="VerticalAlignment" Value="Center" />
                                                        <Setter Property="Template">
                                                            <Setter.Value>
                                                                <ControlTemplate TargetType="ListBoxItem">
                                                                    <transform:TransformControl Click="OnItemCloseRequested" Scale="{Binding Scale, Mode=TwoWay}"  Angle="{Binding Angle, Mode=TwoWay}" PositionX="{Binding PositionX, Mode=TwoWay}" PositionY="{Binding PositionY, Mode=TwoWay}">
                                                                        <ContentPresenter />
                                                                    </transform:TransformControl>
                                                                </ControlTemplate>
                                                            </Setter.Value>
                                                        </Setter>
                                                    </Style>
                                                </greeting:GraphicElementListBox.ItemContainerStyle>
                                            </greeting:GraphicElementListBox>
                                        </Grid>
                                    </Border>

                                    <graphics:ThemeObject0Control Height="17" HorizontalAlignment="Left" Margin="-10,-9,0,0" VerticalAlignment="Top" Width="10" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject0Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.3" ScaleY="0.3"/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </graphics:ThemeObject0Control.RenderTransform>
                                    </graphics:ThemeObject0Control>
                                    <graphics:ThemeObject0Control Height="17" HorizontalAlignment="Left" Margin="54,8,0,0" VerticalAlignment="Top" Width="10" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject0Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.1" ScaleY="0.1"/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </graphics:ThemeObject0Control.RenderTransform>
                                    </graphics:ThemeObject0Control>
                                    <graphics:ThemeObject0Control Height="17" HorizontalAlignment="Left" Margin="7,66,0,0" VerticalAlignment="Top" Width="10" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject0Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.1" ScaleY="0.1"/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </graphics:ThemeObject0Control.RenderTransform>
                                    </graphics:ThemeObject0Control>
                                    <graphics:ThemeObject0Control Height="17" HorizontalAlignment="Left" Margin="119,1,0,0" VerticalAlignment="Top" Width="10" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject0Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.1" ScaleY="0.1"/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </graphics:ThemeObject0Control.RenderTransform>
                                    </graphics:ThemeObject0Control>
                                    <graphics:ThemeObject0Control Height="17" HorizontalAlignment="Left" Margin="86,-9,0,0" VerticalAlignment="Top" Width="10" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject0Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.15" ScaleY="0.15"/>
                                                <SkewTransform/>
                                                <RotateTransform Angle="39"/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </graphics:ThemeObject0Control.RenderTransform>
                                    </graphics:ThemeObject0Control>
                                    <graphics:ThemeObject0Control Height="17" HorizontalAlignment="Left" Margin="21,87,0,0" VerticalAlignment="Top" Width="10" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject0Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.15" ScaleY="0.15"/>
                                                <SkewTransform/>
                                                <RotateTransform Angle="39"/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </graphics:ThemeObject0Control.RenderTransform>
                                    </graphics:ThemeObject0Control>
                                    <graphics:ThemeObject0Control Height="17" HorizontalAlignment="Left" Margin="0,129,0,0" VerticalAlignment="Top" Width="10" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject0Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.2" ScaleY="0.2"/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </graphics:ThemeObject0Control.RenderTransform>
                                    </graphics:ThemeObject0Control>
                                    <graphics:ThemeObject0Control Height="17" HorizontalAlignment="Left" Margin="-10,66,0,0" VerticalAlignment="Top" Width="10" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject0Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.2" ScaleY="0.2"/>
                                                <SkewTransform/>
                                                <RotateTransform Angle="-49"/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </graphics:ThemeObject0Control.RenderTransform>
                                    </graphics:ThemeObject0Control>
                                    <graphics:ThemeObject0Control Height="17" HorizontalAlignment="Left" Margin="0,129,0,0" VerticalAlignment="Top" Width="10" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject0Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.2" ScaleY="0.2"/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </graphics:ThemeObject0Control.RenderTransform>
                                    </graphics:ThemeObject0Control>
                                    <graphics:ThemeObject0Control Height="17" HorizontalAlignment="Left" Margin="135,22,0,0" VerticalAlignment="Top" Width="10" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject0Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.2" ScaleY="0.2"/>
                                                <SkewTransform/>
                                                <RotateTransform Angle="-49"/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </graphics:ThemeObject0Control.RenderTransform>
                                    </graphics:ThemeObject0Control>
                                    <graphics:ThemeObject0Control Height="17" HorizontalAlignment="Left" Margin="21,178,0,0" VerticalAlignment="Top" Width="10" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject0Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.15" ScaleY="0.15"/>
                                                <SkewTransform/>
                                                <RotateTransform Angle="39"/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </graphics:ThemeObject0Control.RenderTransform>
                                    </graphics:ThemeObject0Control>
                                    <graphics:ThemeObject1Control HorizontalAlignment="Left" Margin="103,8,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject1Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.15" ScaleY="0.15"/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </graphics:ThemeObject1Control.RenderTransform>
                                    </graphics:ThemeObject1Control>
                                    <graphics:ThemeObject1Control HorizontalAlignment="Left" Margin="17,178,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject1Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.1" ScaleY="0.1"/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </graphics:ThemeObject1Control.RenderTransform>
                                    </graphics:ThemeObject1Control>
                                    <graphics:ThemeObject1Control HorizontalAlignment="Left" Margin="31,39,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject1Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.1" ScaleY="0.1"/>
                                                <SkewTransform/>
                                                <RotateTransform/>
                                                <TranslateTransform X="1" Y="1"/>
                                            </TransformGroup>
                                        </graphics:ThemeObject1Control.RenderTransform>
                                    </graphics:ThemeObject1Control>
                                    <graphics:ThemeObject1Control HorizontalAlignment="Left" Margin="0,104,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject1Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.2" ScaleY="0.2"/>
                                                <SkewTransform/>
                                                <RotateTransform Angle="-47"/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </graphics:ThemeObject1Control.RenderTransform>
                                    </graphics:ThemeObject1Control>
                                    <graphics:ThemeObject1Control HorizontalAlignment="Left" Margin="21,29,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject1Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.2" ScaleY="0.2"/>
                                                <SkewTransform/>
                                                <RotateTransform Angle="-47"/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </graphics:ThemeObject1Control.RenderTransform>
                                    </graphics:ThemeObject1Control>
                                    <graphics:ThemeObject1Control HorizontalAlignment="Left" Margin="0,104,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject1Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.2" ScaleY="0.2"/>
                                                <SkewTransform/>
                                                <RotateTransform Angle="-47"/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </graphics:ThemeObject1Control.RenderTransform>
                                    </graphics:ThemeObject1Control>
                                    <graphics:ThemeObject1Control HorizontalAlignment="Left" Margin="150,13,0,0" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject1Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.1" ScaleY="0.1"/>
                                                <SkewTransform/>
                                                <RotateTransform Angle="32"/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </graphics:ThemeObject1Control.RenderTransform>
                                    </graphics:ThemeObject1Control>
                                    <graphics:ThemeObject0Control Height="17" HorizontalAlignment="Left" Margin="205,-7,0,0" VerticalAlignment="Top" Width="10" RenderTransformOrigin="0.5,0.5">
                                        <graphics:ThemeObject0Control.RenderTransform>
                                            <TransformGroup>
                                                <ScaleTransform ScaleX="0.15" ScaleY="0.15"/>
                                                <SkewTransform/>
                                                <RotateTransform Angle="59"/>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </graphics:ThemeObject0Control.RenderTransform>
                                    </graphics:ThemeObject0Control>
                                </Grid>
                            </Border>

                            <Border x:Name="sendInfoContainer" Grid.Row="1" Visibility="Collapsed" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" BorderThickness="4,0,4,4" BorderBrush="{StaticResource mainBorder}">
                                <expander:ExpanderControl Header="Send Greeting..." Background="White">
                                    <expander:ExpanderControl.Content>
                                        <Border BorderBrush="{StaticResource mainBorder}" BorderThickness="1" Margin="5">
                                            <Grid>
                                                <Grid.Background>
                                                    <RadialGradientBrush>
                                                        <RadialGradientBrush.RelativeTransform>
                                                            <TransformGroup>
                                                                <ScaleTransform CenterX="0.5" CenterY="0.5" ScaleX="1.622" ScaleY="1.779"/>
                                                                <SkewTransform CenterX="0.5" CenterY="0.5"/>
                                                                <RotateTransform CenterX="0.5" CenterY="0.5"/>
                                                                <TranslateTransform X="-0.448" Y="-0.404"/>
                                                            </TransformGroup>
                                                        </RadialGradientBrush.RelativeTransform>
                                                        <GradientStop Color="#FFFFF98F" Offset="0.071"/>
                                                        <GradientStop Color="#FFFFBD39" Offset="0.781"/>
                                                        <GradientStop Color="#FFC8FF65" Offset="0.326"/>
                                                        <GradientStop Color="#FFFFE6BD" Offset="0.996"/>
                                                        <GradientStop Color="#FFFFE389" Offset="0.571"/>
                                                    </RadialGradientBrush>
                                                </Grid.Background>

                                                <Grid.RowDefinitions>
                                                    <RowDefinition Height="Auto"/>
                                                    <RowDefinition Height="Auto"/>
                                                </Grid.RowDefinitions>

                                                <Grid.ColumnDefinitions>
                                                    <ColumnDefinition Width="*"/>
                                                    <ColumnDefinition Width="Auto"/>
                                                </Grid.ColumnDefinitions>

                                                <StackPanel Grid.Row="0" Grid.Column="0" Margin="5">
                                                    <TextBlock VerticalAlignment="Bottom" Text="Your Name" TextWrapping="Wrap" FontSize="10"/>
                                                    <TextBox  x:Name="PART_SenderName" Text="" Background="#66FFFFFF"/>

                                                    <TextBlock VerticalAlignment="Bottom" Text="Your Email" TextWrapping="Wrap" FontSize="10"/>
                                                    <TextBox x:Name="PART_SenderEmail" Text="" Background="#66FFFFFF"/>

                                                    <TextBlock VerticalAlignment="Bottom" Text="Send to (separate with ,)" TextWrapping="Wrap" FontSize="10"/>
                                                    <TextBox x:Name="PART_SendTo" Text="" Height="100" Background="#66FFFFFF"/>
                                                </StackPanel>

                                                <StackPanel Grid.Row="0" Grid.Column="1" Margin="5">
                                                    <greeting:CaptchaControl x:Name="PART_CaptchaControl" ReloadText="Reload Captcha" InfoText="Type the 4 characters"/>
                                                    <Button Grid.Column="1" x:Name="PART_SendButton" Template="{StaticResource simpleButtonTemplate}">
                                                        <ToolTipService.ToolTip>
                                                            <TextBlock Text="{TemplateBinding SendText}" />
                                                        </ToolTipService.ToolTip>
                                                        <Button.Content>
                                                            <Canvas x:Name="SendIcon" Width="123.262" Height="92.7891" Canvas.Left="206.1" Canvas.Top="193.841" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Center" VerticalAlignment="Center">
                                                                <Canvas.RenderTransform>
                                                                    <ScaleTransform ScaleX="0.7" ScaleY="0.7" />
                                                                </Canvas.RenderTransform>
                                                                <Canvas x:Name="Group_38" Width="120.662" Height="88.9142" Canvas.Left="2.59991" Canvas.Top="0">
                                                                    <Path x:Name="Path_39" Width="84.2762" Height="66.2438" Canvas.Left="1.52588e-005" Canvas.Top="22.6704" Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF83858B" Fill="#FFF8F8F8" Data="F1 M 5.90067,23.1704L 83.7762,30.4229L 78.3755,88.4142L 0.500015,81.1618L 5.90067,23.1704 Z "/>
                                                                    <Path x:Name="Path_40" Width="39.836" Height="54.9517" Canvas.Left="3.11737" Canvas.Top="23.3497" Stretch="Fill" Fill="#FFE3E4E5" Data="F1 M 42.9534,48.9909L 8.77209,23.3497L 3.11737,78.3014L 42.9534,48.9909 Z "/>
                                                                    <Path x:Name="Path_41" Width="78.8377" Height="30.8007" Canvas.Left="5.45166" Canvas.Top="0" Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF929292" Fill="#FFF1F1F1" Data="F1 M 83.7894,30.3007L 48.5507,0.5L 5.95166,23.0594L 83.7894,30.3007 Z "/>
                                                                    <Path x:Name="Path_42" Width="37.221" Height="56.4433" Canvas.Left="42.8701" Canvas.Top="29.8474" Stretch="Fill" Fill="#FFE3E4E5" Data="F1 M 42.8701,48.9076L 74.0571,86.2907L 80.0911,29.8474L 42.8701,48.9076 Z "/>
                                                                    <Path x:Name="Path_43" Width="71.7689" Height="45.0637" Canvas.Left="8.48195" Canvas.Top="3.84369" Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF253044" Data="F1 M 8.98195,23.4524L 47.7548,4.34369L 79.7508,30.2294L 42.7819,48.4074L 8.98195,23.4524 Z ">
                                                                        <Path.Fill>
                                                                            <LinearGradientBrush StartPoint="0.52132,0.0654827" EndPoint="1.39823,0.0654827">
                                                                                <LinearGradientBrush.RelativeTransform>
                                                                                    <TransformGroup>
                                                                                        <SkewTransform CenterX="0.52132" CenterY="0.0654827" AngleX="-4.88075" AngleY="0"/>
                                                                                        <RotateTransform CenterX="0.52132" CenterY="0.0654827" Angle="93.0136"/>
                                                                                    </TransformGroup>
                                                                                </LinearGradientBrush.RelativeTransform>
                                                                                <LinearGradientBrush.GradientStops>
                                                                                    <GradientStop Color="#FF6060A2" Offset="0.00847458"/>
                                                                                    <GradientStop Color="#FF414670" Offset="0.368644"/>
                                                                                    <GradientStop Color="#FF222C3E" Offset="1"/>
                                                                                </LinearGradientBrush.GradientStops>
                                                                            </LinearGradientBrush>
                                                                        </Path.Fill>
                                                                    </Path>
                                                                    <Path x:Name="Line" Width="1" Height="19.2468" Canvas.Left="92.0408" Canvas.Top="51.9636" Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF0B0B0B" Data="F1 M 92.5408,52.4636L 92.5408,70.7104"/>
                                                                    <Path x:Name="Line_44" Width="1" Height="17.99" Canvas.Left="90.916" Canvas.Top="52.4704" Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF000000" Data="F1 M 91.416,69.9604L 91.416,52.9704"/>
                                                                    <Path x:Name="Path_45" Width="64.4086" Height="44.0779" Canvas.Left="56.2538" Canvas.Top="39.5476" Stretch="Fill" StrokeLineJoin="Round" Stroke="#FF000000" Data="F1 M 92.548,71.4673L 92.5408,83.1255L 120.162,61.5866L 92.5408,40.0476L 92.5896,52.053L 92.1834,52.06L 56.7538,52.0461L 56.7538,70.5438L 92.5271,70.5091L 92.548,71.4881">
                                                                        <Path.Fill>
                                                                            <LinearGradientBrush StartPoint="0.483302,0.659574" EndPoint="0.938493,0.659574">
                                                                                <LinearGradientBrush.RelativeTransform>
                                                                                    <TransformGroup>
                                                                                        <SkewTransform CenterX="0.483302" CenterY="0.659574" AngleX="-0.12863" AngleY="0"/>
                                                                                        <RotateTransform CenterX="0.483302" CenterY="0.659574" Angle="-89.8899"/>
                                                                                    </TransformGroup>
                                                                                </LinearGradientBrush.RelativeTransform>
                                                                                <LinearGradientBrush.GradientStops>
                                                                                    <GradientStop Color="#FFE20000" Offset="0.00847458"/>
                                                                                    <GradientStop Color="#FFE55D5D" Offset="0.368644"/>
                                                                                    <GradientStop Color="#FFE8BBBB" Offset="1"/>
                                                                                </LinearGradientBrush.GradientStops>
                                                                            </LinearGradientBrush>
                                                                        </Path.Fill>
                                                                    </Path>
                                                                </Canvas>
                                                            </Canvas>
                                                        </Button.Content>
                                                    </Button>
                                                </StackPanel>

                                                <StackPanel Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="2">
                                                    <TextBox x:Name="messageSavedButNotSent" IsReadOnly="True" Visibility="Collapsed" Background="#BBFF0000" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Text="Your greeting has been saved to server but no email(s) has been sent." TextWrapping="Wrap" FontSize="11"/>
                                                    <TextBox x:Name="messageSaved" IsReadOnly="True" Visibility="Collapsed" Background="#6600FF00" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Text="{TemplateBinding SucceededMessage}" TextWrapping="Wrap" FontSize="11"/>
                                                    <TextBox x:Name="messageCaptchaFailed" Visibility="Collapsed" Background="#BBFF0000" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Text="Captcha validation failed, please try again." TextWrapping="Wrap" FontSize="11"/>
                                                </StackPanel>

                                            </Grid>
                                        </Border>
                                    </expander:ExpanderControl.Content>
                                </expander:ExpanderControl>
                            </Border>

                            <waitCursor:WaitCursorControl Grid.Row="0" Grid.RowSpan="2" x:Name="disableControlsArea" Text="Connecting..." Background="#99FFFFFF" Visibility="Collapsed"/>

                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>

    </UserControl.Resources>

    <Grid x:Name="LayoutRoot" Margin="10">
        <vsm:VisualStateManager.VisualStateGroups>
            <vsm:VisualStateGroup x:Name="PresentationStates">
                <vsm:VisualState x:Name="ReadMode">
                    <Storyboard>
                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00" Storyboard.TargetName="imagePicker" Storyboard.TargetProperty="(UIElement.Visibility)">
                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                <DiscreteObjectKeyFrame.Value>
                                    <Visibility>Collapsed</Visibility>
                                </DiscreteObjectKeyFrame.Value>
                            </DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00" Storyboard.TargetName="wordPicker" Storyboard.TargetProperty="(UIElement.Visibility)">
                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                <DiscreteObjectKeyFrame.Value>
                                    <Visibility>Collapsed</Visibility>
                                </DiscreteObjectKeyFrame.Value>
                            </DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                    </Storyboard>
                </vsm:VisualState>
                <vsm:VisualState x:Name="EditMode">
                    <Storyboard />
                </vsm:VisualState>
            </vsm:VisualStateGroup>
        </vsm:VisualStateManager.VisualStateGroups>

        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="Auto" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>

            <greeting:GreetingCreatorControl x:Name="greetingCreator" Style="{StaticResource fallStyle}" Width="500" Height="400" Grid.Row="0" Grid.Column="1" Grid.RowSpan="3" UseMultipleGraphicElements="True" SendText="Send" HorizontalAlignment="Left" VerticalAlignment="Top"/>

            <itemPicker:ItemPickerControl x:Name="wordPicker" Grid.Row="0" Grid.Column="0" Height="90" Width="90" Style="{StaticResource wordPickerStyle}" Canvas.ZIndex="1001" ItemSelected="OnWordSelected"/>
            <itemPicker:ItemPickerControl x:Name="imagePicker" Grid.Row="1" Grid.Column="0" Width="90" Height="90" Style="{StaticResource imagePickerStyle}" Canvas.ZIndex="1000" ItemSelected="OnImageSelected"/>          
        </Grid>
    </Grid>
</UserControl>
